Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

898
Visualizações
[XX000][500310] [Amazon](500310) Invalid operation: Parsed manifest is not a valid JSON object

I'm running a crawler over a folder containing several files with different schemas. I expect so to find a table for each file.

What happens is that in the Glue Catalogue I can actually see a table for each file, with its own schema. But when I try to query it via Redshift Spectrum (after creating the external schema etc.) I get this exception:

[XX000][500310] [Amazon](500310) Invalid operation: Parsed manifest is not a valid JSON object.

How to fix it?

over 4 years ago · Santiago Trujillo
2 Respostas
Responde à pergunta

0

As reported in this forum https://forums.aws.amazon.com/thread.jspa?threadID=266510

every file should be in its own folder/sub-bucket

So for me putting each file in its own folder and setting the Glue Crawler to run over the top level folder resolved the exception.

I'm now able to query it without any problem.

over 4 years ago · Santiago Trujillo Relatório

0

For Googlers:

Crawler set Location of a Glue table to a file if it cannot make a table out of its containing folder.

That is, the file:

  • is not in a folder but directly in root path of a bucket
  • does not have a file format, compression method or schema that is compatible with sibling files in the same folder

A Location pointing directly at a file is not supported by Redshift Spectrum or Athena, thus this error.

To solve this problem, make a containing folder, also make sure all siblings have same format. Run the crawler again.

You should then see Location pointing to a prefix in a bucket.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda